package com.etc.medical.breaker;

import com.etc.common.entity.BasicDoctor;
import com.etc.common.utils.Result;
import com.etc.medical.client.BasicDoctorClient;
import org.springframework.stereotype.Component;


@Component
public class BasicDoctorBreak implements BasicDoctorClient {
    @Override
    public Result queryData(String docId) {
        return null;
    }

    @Override
    public Result queryAll(Integer pageNum, Integer pageSize) {
        return  Result.fail("sorry net error，now we must be break!");
    }

    @Override
    public Result update(BasicDoctor doctor) {
        return null;
    }

    @Override
    public Result updateStatus(String docId) {
        return null;
    }
}
